# 1、多个缺省参数的传递练习，练习多个缺省参数

def func(a,b=6,c=3):
    print(a,b,c)

# func(1)
# func(1,b=2,c=3)
# func(1,5,3)

def print_test(name,tile= '',gender =True):

    gender_textb='men'
    if not gender:
        gender_textb='women'
    print(f'%s%s is %s' %(tile,name,gender_textb) )

print_test('xiaoming','班长')
print_test('xiaohua',gender=False)
print_test("laowang",gender=True,tile="学习委员")

